export default function directiveUnit(app) {
	app.directive('unit', {
		mounted(el, bindings) {
			console.log('bindings: ', bindings)
			const defalutText = el.textContent
			let unit = bindings.value || '￥'
			el.textContent = unit + defalutText
		},
	})
}
